package com.spic.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.spic.common.core.web.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 阅读人对象 sys_announce_reader
 *
 * @author spic
 * @date 2022-06-15
 */
@Data
public class SysAnnounceReader extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    private Long receiverId;

    /** 阅读人 */
    private Long userId;

    /** 阅读人部门 */
    private Long deptId;

    /** 是否已读 0未读 1已读 */
    private String isRead;

    private Long announceId;//发布矿级消息关联字段
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")

    private Date endTime;  //过期截止时间

    private String state;   //是否显示0显示 1不显示

}
